package com.qf.j2112.service;

import com.qf.j2112.po.SysGoods;

import java.util.List;

/**
 * 商品管理Service接口
 * 
 * @author j2112
 * @date 2022-04-12
 */
public interface SysGoodsService {


    SysGoods selectSysGoodsByGoodsId(Integer goodsId);

    //查询热门商品
    List<SysGoods> selectHotSysGoodsList();

    //全查商品
    List<SysGoods> selectAll();

    //根据商品类型全查商品
    List<SysGoods> selectAllByType(Integer typeId);

    int insertSysGoods(SysGoods sysGoods);

    int updateSysGoods(SysGoods sysGoods);

    int deleteSysGoodsByGoodsIds(Integer[] goodsIds);

    int deleteSysGoodsByGoodsId(Integer goodsId);
}
